package com.chinacoal.hr.api.fallback;

import com.chinacoal.hr.levelapi.controller.GoTest3Client;
import com.chinacoal.microservice.util.result.CodeMsg;
import com.chinacoal.microservice.util.result.Result;
import org.springframework.stereotype.Component;

/**
 * @author: YunTao.Li
 * @create: 2020-01-08 16:50
 * @description:
 **/
@Component
public class GoTest3Fallback implements GoTest3Client {
    @Override
    public Result gotest3() {
        return Result.error(CodeMsg.FALLBACK);
    }
}
